package thread;

public class ThreadMain {
    public static void main(String[] args) {
        Thread t = new MyThread("线程1");
        Thread t1 = new MyThread("线程2");
        t.start();//启动线程
        t1.start();

    }
}
